package org.micode.demo.db.service;

import org.micode.demo.db.domain.dto.SysMenuDTO;
import org.micode.demo.db.domain.query.SysMenuQuery;
import org.micode.libs.dao.base.BaseAllService;

import java.util.List;
import java.util.Set;

/**
 * 菜单信息(sys_menu) 服务接口类
 *
 * author: wutianbin
 */
public interface DaoSysMenuService
        extends BaseAllService<Long, SysMenuDTO, SysMenuQuery> {

    Set<String> listPerms(Long userId);

    List<SysMenuDTO> listMenuByUser(Long userId);

    List<SysMenuDTO> listMenuNotButtonByUser(Long userId);

}
